
<html>
<head>
	<title>OpenSocial Dashboard</title>
	
	<%= stylesheet_link_tag 'container' %>
	<%= stylesheet_link_tag 'dashboard' %>
	
	<%= stylesheet_link_tag "../javascripts/dojo-release-1.3.0/dijit/themes/soria/soria.css" %>
	<%= stylesheet_link_tag 'ExpandoPane' %>
	
	<script type="text/javascript" src="/javascripts/dojo-release-1.3.0/dojo/dojo.js" djConfig="parseOnLoad:true, isDebug: false"></script>
	<script type="text/javascript">
	  dojo.require("dijit.layout.ContentPane");
	  dojo.require("dijit.layout.BorderContainer");
	  dojo.require("dijit.layout.TabContainer");
	  dojo.require("dijit.layout.LayoutContainer");
	  dojo.require("dijit.layout.AccordionContainer");
	  dojo.require("dojox.layout.ExpandoPane");
	</script>
	
	<% if @USE_RUBY_GADGET_SERVER %>
		<%= javascript_include_tag 'core/core.js' %>
		<%= javascript_include_tag 'core/config.js' %>
		<%= javascript_include_tag 'core/json.js' %>
		<%= javascript_include_tag 'core/util.js' %>
		<%= javascript_include_tag 'core/prefs.js' %>
		<%= javascript_include_tag 'core/auth.js' %>
		<%= javascript_include_tag 'core/auth-init.js' %>
		<%= javascript_include_tag 'core/legacy.js' %>
		<%= javascript_include_tag 'core/rpc.js' %>
		<%= javascript_include_tag 'core/io.js' %>
		<%= javascript_include_tag 'cookies.js' %>
		<%= javascript_include_tag 'util.js' %>
		<%= javascript_include_tag 'gadgets.js' %>
		<%= javascript_include_tag 'samplecontainer.js' %>
	<% else %>
		<%= javascript_include_tag 'core/core.js' %>
		<%= javascript_include_tag 'core/config.js' %>
		<%= javascript_include_tag 'core/json.js' %>
		<%= javascript_include_tag 'core/util.js' %>
		<%= javascript_include_tag 'core/prefs.js' %>
		<%= javascript_include_tag 'core/auth.js' %>
		<%= javascript_include_tag 'core/auth-init.js' %>
		<%= javascript_include_tag 'core/legacy.js' %>
		<%= javascript_include_tag 'core/rpc.js' %>
		<%= javascript_include_tag 'core/io.js' %>
		<%= javascript_include_tag 'cookies.js' %>
		<%= javascript_include_tag 'util.js' %>
		<%= javascript_include_tag 'gadgets.js' %>
		<%= javascript_include_tag 'samplecontainer.js' %>
	<% end %>

</head>

<body class="soria">
	<div id="content">
		<%= yield %>
		<div style="clear:both;"></div>
	</div>
	<div id="footer">
		<%= render :partial=>'shared/footer' %>
	</div>
</body>

</html>